package com.coderman.daoclient.bean;

import com.coderman.daoclient.annotations.ColId;
import com.coderman.daoclient.annotations.Column;
import com.coderman.daoclient.annotations.Table;

import java.util.Date;

/**
 * Created by 58-daojia on 2017-12-22.
 *
 * @author: fanchunshuai
 * @version: V1.0
 * @Desc:
 * @Copyright (c) 2017 58到家-版权所有
 */
@Table(name = "csdn_blog")
public class CsdnBlog {

    @ColId
    @Column(name = "id")
    private Long id;

    @Column(name = "user_id")
    private Long userId;

    @Column(name = "category_id")
    private String categoryList;

    @Column(name = "title")
    private String title;

    @Column(name = "tag_list")
    private String tagList;

    @Column(name = "create_time")
    private Date createTime;

    @Column(name = "blog_url")
    private String blogUrl;

    @Column(name = "blog_content")
    private String content;

    @Column(name = "cai_num")
    private Integer caiNum;

    @Column(name = "zan_num")
    private Integer zanNum;

    @Column(name = "comm_num")
    private Integer commNum;

    @Column(name = "read_num")
    private Integer readNum;


    @Column(name = "sim_links")
    private String simLink;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getCategoryList() {
        return categoryList;
    }

    public void setCategoryList(String categoryList) {
        this.categoryList = categoryList;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTagList() {
        return tagList;
    }

    public void setTagList(String tagList) {
        this.tagList = tagList;
    }


    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getBlogUrl() {
        return blogUrl;
    }

    public void setBlogUrl(String blogUrl) {
        this.blogUrl = blogUrl;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Integer getCaiNum() {
        return caiNum;
    }

    public void setCaiNum(Integer caiNum) {
        this.caiNum = caiNum;
    }

    public Integer getZanNum() {
        return zanNum;
    }

    public void setZanNum(Integer zanNum) {
        this.zanNum = zanNum;
    }

    public Integer getCommNum() {
        return commNum;
    }

    public void setCommNum(Integer commNum) {
        this.commNum = commNum;
    }

    public Integer getReadNum() {
        return readNum;
    }

    public void setReadNum(Integer readNum) {
        this.readNum = readNum;
    }

    public String getSimLink() {
        return simLink;
    }

    public void setSimLink(String simLink) {
        this.simLink = simLink;
    }

    @Override
    public String toString() {
        return "CsdnBlog{" +
                "id=" + id +
                ", userId=" + userId +
                ", categoryList='" + categoryList + '\'' +
                ", title='" + title + '\'' +
                ", tagList='" + tagList + '\'' +
                ", createTime='" + createTime + '\'' +
                ", blogUrl='" + blogUrl + '\'' +
                ", content='" + content + '\'' +
                ", caiNum=" + caiNum +
                ", zanNum=" + zanNum +
                ", commNum=" + commNum +
                ", readNum=" + readNum +
                ", simLink='" + simLink + '\'' +
                '}';
    }
}
